--- vapi/compat.vapi.orig	2013-11-15 08:13:29.000000000 -0700
+++ vapi/compat.vapi	2014-03-30 21:05:16.000000000 -0600
@@ -25,8 +25,14 @@
 	[CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_widget_shape_combine_region")]
 	public void gtk_widget_shape_combine_region (Gtk.Widget widget, Cairo.Region? region);
 #endif
+
+#if __FreeBSD__
+	[CCode (cheader_filename = "sys/types.h", cname = "setproctitle", sentinel = "")]
+	public void setproctitle (string fmt);
+#else
 	[CCode (cheader_filename = "sys/prctl.h", cname = "prctl", sentinel = "")]
 	public int prctl (int option, ...);
+#endif
 }
 
 [CCode (cheader_filename = "glib.h")]
